.search-bar {
  width: 100%;
  color: #666;
  background: #fff;
  box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.07);
  z-index: 3;
  display: flex;
  align-items: center;
  .search-box {
    position: relative;
    height: 60rpx;
    background: #f7f7f7;
    z-index: 999;
    width: 80%;
    margin-left: 70rpx;
    border-radius: 50rpx;
    margin: 20rpx 0 20rpx 20rpx;
    .search-input {
      height: 60rpx;
      border-radius: 50rpx;
      border: 0;
      margin: 0 30rpx 0 70rpx;
      line-height: 48rpx;
      vertical-align: top;
      font-size: 24rpx;
      color: #333;
    }

    .search-img {
      position: absolute;
      width: 32rpx;
      height: 32rpx;
      left: 20rpx;
      top: 14rpx;
      display: block;
    }
  }
  .btnSearch {
    position: absolute;
    font-size: 28rpx;
    right: 30rpx;
    top: 31rpx;
    color: #000;
  }
}

/*  */
.search-display {
  padding: 24rpx;
  .title-text {
    padding: 10rpx 0;
    font-size: 28rpx;
    color: #000;
    font-weight: bold;
    margin-bottom: 12rpx;
  }

  .hot-search {
    .hot-search-tags {
      overflow: hidden;
      font-size: 24rpx;
      text-align: center;
      .tags {
        display: block;
        max-width: 100%;
        overflow: hidden;
        float: left;
        border-radius: 50rpx;
        white-space: nowrap;
        text-overflow: ellipsis;
        background-color: #f2f2f2;
        box-sizing: border-box;
        margin-right: 20rpx;
        margin-bottom: 20rpx;
        padding: 10rpx 30rpx;
      }
    }

    .search-tit-empty {
      display: block;
      margin: 0 auto;
      padding-bottom: 24rpx;
      text-align: center;
      width: 100%;
      font-size: 24rpx;
      color: #aaa;
    }
  }
  .history-search {
    .title-text.history-line {
      position: relative;
      border-top: 2rpx solid #e1e1e1;
      padding-top: 24rpx;
    }
    .his-search-tags {
      overflow: hidden;
      font-size: 24rpx;
      text-align: center;
      display: inline-block;
      .tags {
        max-width: 300rpx;
        overflow: hidden;
        float: left;
        border-radius: 50rpx;
        white-space: nowrap;
        text-overflow: ellipsis;
        background-color: #f2f2f2;
        box-sizing: border-box;
        margin-right: 20rpx;
        margin-bottom: 20rpx;
        padding: 10rpx 30rpx;
      }
    }
  }

  .clear-history {
    image {
      width: 32rpx;
      height: 32rpx;
      position: absolute;
      right: 10rpx;
      top: 30rpx;
    }
  }
}
